﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace Visual_App
{
    public partial class _frm_skip : Form
    {
        public int _SKIP_EPO { get; set; }
        public bool _AutoClear { get; set; }

        public _frm_skip()
        {
            InitializeComponent();

            this._SKIP_EPO = 1000;
            this._AutoClear = false;
        }

        private void _frm_skip_Load(object sender, EventArgs e)
        {
            this._nud_epo.Value = this._SKIP_EPO;
            this._cb_autoclear.Checked = this._AutoClear;
        }

        private void _cmd_ok_Click(object sender, EventArgs e)
        {
            this._SKIP_EPO = (int)this._nud_epo.Value;
            this._AutoClear = this._cb_autoclear.Checked;

            this.DialogResult = System.Windows.Forms.DialogResult.OK;
            this.Close();
        }

        private void _cmd_cancel_Click(object sender, EventArgs e)
        {
            this.DialogResult = System.Windows.Forms.DialogResult.Cancel;
            this.Close();
        }
    }
}
